<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }

        ul li {
            list-style: none;
        }

        .box {
            width: 100%;
            height: 260px;
            margin: 40px 5%;
        }

        .box ul li {
            width: 200px;
            height: 260px;
            float: left;
            position: relative;
        }

        .box ul li div {
            width: 100%;
            height: 260px;
        }

        .box ul li .tit {
            position: absolute;
            left: 0;
            top: 0;
            background: rgba(0, 0, 0, .3);
        }

        .obx ul li .tit h4 {
            color: #fff;
            font-size: 30px;
            padding: 30px;
            width: 30px;
            margin: 0 auto;
        }
    </style>
</head>

<body>
    <div class="box">
        <ul>
            <li>
                <div class="tit">
                    <h4>lose yourself</h4>
                </div>
                <div style="background: url(../images/1-1.jpg);"></div>
            </li>
            <li>
                <div class="tit">
                    <h4>lose yourself</h4>
                </div>
                <div style="background: url(../images/1-2.jpg);"></div>
            </li>
            <li>
                <div class="tit">
                    <h4>lose yourself</h4>
                </div>
                <div style="background: url(../images/1-3.jpg);"></div>
            </li>
            <li>
                <div class="tit">
                    <h4>lose yourself</h4>
                </div>
                <div style="background: url(../images/1-4.gif);"></div>
            </li>
            <li>
                <div class="tit">
                    <h4>lose yourself</h4>
                </div>
                <div style="background: url(../images/1-5.jpg);"></div>
            </li>
            <li>
                <div class="tit">
                    <h4>lose yourself</h4>
                </div>
                <div style="background: url(../images/1-6.jpg);"></div>
            </li>
        </ul>
    </div>

    <script src="../js/jquery.js"></script>

    <script>
        $(".box li").on("mouseover", function () {
            $(this).find(".tit").hide().end().stop(true).animate({
                width: 400
            }).siblings("li").stop(true).animate({
                width: 160
            })
        })

        $(".box li").on("mouseout", function () {
            $(this).find(".tit").show().siblings("li").stop(true).animate({
                width: 200
            })
        })
    </script>

</body>

</html>